<?PHP
    class Postagem
    {
        private $idPostagem = NULL;
        private $titulo = NULL;
        private $descricao = NULL;
        private $conteudo = NULL;
        private $data = NULL;
        private $idUsuario = NULL;
        private $idCategoria = NULL;
        private $isAtivo = NULL;


        /*************************************************************************
        * Name: __construct
        * Description: Construtor da Classe. Inicializar os Atributos.
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function __construct($idPostagem, $titulo, $descricao, $data, $idUsuario, $idCategoria, $isAtivo)
        {
            $this->idPostagem = $idPostagem;
            $this->titulo = $titulo;
            $this->descricao = $descricao;
            $this->conteudo = $conteudo;
            $this->data = $data;
            $this->idUsuario = $idUsuario;
            $this->idCategoria = $idCategoria;
            $this->isAtivo = $isAtivo;
        }


        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getIdPostagem() {
            return $this->idPostagem;
        }
        
        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setIdPostagem($idPostagem) {
            $this->idPostagem = $idPostagem;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getTitulo() {
            return $this->titulo;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setTitulo($titulo) {
            $this->titulo = $titulo;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getDescricao() {
            return $this->descricao;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setDescricao($descricao) {
            $this->descricao = $descricao;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getConteudo() {
            return $this->conteudo;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setConteudo($conteudo) {
            $this->conteudo = $conteudo;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getData() {
            return $this->data;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setData($data) {
            $this->data = $data;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getIdUsuario() {
            return $this->idUsuario;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setIdUsuario($idUsuario) {
            $this->idUsuario = $idUsuario;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getIdCategoria() {
            return $this->idCategoria;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setIdCategoria($idCategoria) {
            $this->idCategoria = $idCategoria;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function getIsAtivo() {
            return $this->isAtivo;
        }

        
        /*************************************************************************
        * Name: 
        * Description: 
        * Parameters:
        * Returns: Nenhum
        * Author: Felipe O. Simões
        * Last Modified: 07/04/2012 - Felipe O. Simões
        *************************************************************************/
        public function setIsAtivo($isAtivo) {
            $this->isAtivo = $isAtivo;
        }
    }
?>